
export class TokenUsage {
    completion_tokens = 0;
    prompt_tokens = 0;
    total_tokens = 0;

    add(data: TokenUsage) {
        this.completion_tokens += data.completion_tokens;
        this.prompt_tokens += data.prompt_tokens;
        this.total_tokens += data.total_tokens;
    }
}